<template>
  <div>
    <el-table :data="admin" :header-cell-style="{'text-align':'center'}" ref="table" :cell-style="{'text-align':'center'}">
      <el-table-column prop="id" label="id" width="100"/>
      <el-table-column prop="user_id" label="用户id" width="100"/>
      <el-table-column prop="product_id" label="商品id" width="100"/>
      <el-table-column prop="name" label="场地名称" width="100"/>
      <el-table-column prop="description" label="场地描述" width="100"/>
      <el-table-column prop="url" label="图片" width="100"/>
      <el-table-column prop="price" label="单价" width="100"/>
      <el-table-column prop="sort" label="序号" width="100"/>
      <el-table-column prop="created" label="创建时间" width="100"/>
      <el-table-column prop="updated" label="更新时间" width="100"/>
    </el-table>
  </div>
</template>

<script>
export default {
  name: "orderShopping",
  data() {
    return {
      admin: [
        {
          id: "1",
          user_id: "2",
          product_id: "3",
          name: "4",
          description: "5",
          url: "6",
          price: "7",
          sort: "8",
          created: "9",
          updated: "10",
        },
      ]
    }
  }
}
</script>

<style scoped>

</style>